package design.Builder;

/**
 * Created by looper on 2017/8/15.
 */
public class LiveDirector {
  public PersonLive generateLive(LiveBuilder liveBuilder){
    liveBuilder.buildBaby();
    liveBuilder.buildChildren();
    liveBuilder.buildYouth();
    liveBuilder.buildMidLife();
    liveBuilder.buildOld();
    return liveBuilder.getPerson();
  }
}
